//
//  shengchengVC.swift
//  01-读取二维码
//
//  Created by xmg on 16/5/21.
//  Copyright © 2016年 xiao_kl. All rights reserved.
//

import UIKit
import CoreImage

class shengchengVC: UIViewController {
    
    @IBOutlet weak var imageView: UIImageView!
    
    @IBOutlet weak var textT: UITextView!
    
    override func touchesBegan(touches: Set<UITouch>, withEvent event: UIEvent?) {
         self.imageView.image=QRCoedTool.createQRCoed(self.textT.text, isCustomQRCoed:true, centerImage:nil)

    }
    
}

